home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
lib
/
include
/
vm.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-26
|
866b
|
37 lines
/*
* vm.h --
*
* User virtual memory structures.
*
* Copyright 1985 Regents of the University of California
* All rights reserved.
*
*
* $Header: /sprite/src/lib/include/RCS/vm.h,v 1.8 91/03/01 22:11:43 kupfer Exp $ SPRITE (Berkeley)
*/
#ifndef _VMUSER
#define _VMUSER
#include <sprite.h>
#include <vmStat.h>
#ifdef KERNEL
#include <user/vmTypes.h>
#include <user/proc.h>
#else
#include <vmTypes.h>
#include <proc.h>
#endif
/*
* System calls.
*/
extern ReturnStatus Vm_PageSize _ARGS_((int *pageSizePtr));
extern ReturnStatus Vm_CreateVA _ARGS_((Address address, int size));
extern ReturnStatus Vm_DestroyVA _ARGS_((Address address, int size));
extern ReturnStatus Vm_Cmd _ARGS_((int command, int arg));
extern ReturnStatus Vm_GetSegInfo _ARGS_((Proc_PCBInfo *infoPtr,
Vm_SegmentID segID, int infoSize, Address segBufPtr));
#endif /* _VMUSER */